import { createRouter, createWebHistory, useRoute } from "vue-router";
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/index",
      children: [
        {
          path: "/index",
          name: "index",
          component: () => import("../components/HelloWorld.vue"),
        },
      ],
    },
  ],
});
export default router;
